<template>
  <div class="app-download">
    <div class="download-left">
      <div class="download-left-icon"></div>
    </div>
    <div class="bottom" @click="download_app">Download</div>
  </div>
</template>

<script lang="ts" setup>
import { download_app } from '@/utils/download'
</script>

<style scoped lang="scss">
.app-download {
  height: 47px;
  background-color: #4a4a4a;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  .download-left {
    display: flex;
  }
  .download-left-icon {
    width: 97px;
    height: 27px;
    background: url('@/assets/images/logo.png') no-repeat center;
    background-size: 100%;
    margin-right: 6px;
  }
  .bottom {
    width: 70px;
    height: 31px;
    line-height: 31px;
    border: 1px solid #fedba3;
    stroke-width: 1px;
    text-align: center;
    border-radius: 12px;
    color: #fedba3;
    text-align: center;
    font-family: 'PingFang SC';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.667px;
    &:active {
      opacity: 0.8;
    }
  }
}
</style>
